package com.weyoung.common.model.dto.app;

import com.fasterxml.jackson.annotation.JsonFormat;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.util.Date;

/**
 * 更新族谱节点详细信息DTO
 */
@Data
public class UpdateRelationNodeDetailDTO {
    
    @NotNull(message = "用户ID不能为空")
    private Integer userId;

    private String userPic;

    private String realName;

    private String gender;

    private Integer age;

    private String phone;

    private String email;

    private String addressInfo;

    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date birthDate;

    private String isAlive;

    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date deathDate;

    private String graveAddress;

    private String userIntro;

    private String lifeImage;

    private String lifeAudio;

    private String lifeVideo;
} 